package cn.websocket.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <h3>WebSocket</h3>
 * <p></p>
 *
 * @author gdw
 * @since 2025-08-19 15:18:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("socket_file")
public class File implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String fileName;
    private String fileType;
    private String fileUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime submitTime;
}
